package com.info.zhiduoduo.repository.dto.crowdsource;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.converters.string.StringImageConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.net.URL;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(20)
@ContentRowHeight(40)
public class ExportJiaYinNaturalPersonDto {

    @ExcelIgnore
    private int crowdsourceid;

    @ExcelProperty(value = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "身份证号")
    @ApiModelProperty(value = "身份证号")
    private String idNo;

    @ExcelProperty(value = "身份证正面")
    @ApiModelProperty(value = "身份证正面")
    private URL positiveUrl;

    @ExcelProperty(value = "身份证反面")
    @ApiModelProperty(value = "身份证反面")
    private URL backUrl;

}
